package com.example.musicapp.bean;

import android.graphics.Bitmap;

import java.io.Serializable;

public class Music implements Serializable {
    private long id;//歌曲的id
    private String singer;
    private String path;//歌曲地址
    private String song;
    private String album;//专辑图片
    private int duration;
    private long size;//歌曲的大小
    private Bitmap pic;
    private String albumHd;
    public Music() {
    }

    public Music(long id, String singer, String musicUrl, String songName, String singerUri, int duration, int size) {
    }

    public Music(int id, String singer, String path, String song, String album, int duration, long size) {
        this.id = id;
        this.singer = singer;
        this.path = path;
        this.song = song;
        this.album = album;
        this.duration = duration;
        this.size = size;
    }

    public String getAlbumHd() {
        return albumHd;
    }

    public void setAlbumHd(String albumHd) {
        this.albumHd = albumHd;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getSinger() {
        return singer;
    }

    public void setSinger(String singer) {
        this.singer = singer;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getSong() {
        return song;
    }

    public void setSong(String song) {
        this.song = song;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public Bitmap getPic() {
        return pic;
    }

    public void setPic(Bitmap pic) {
        this.pic = pic;
    }

    @Override
    public String toString() {
        return "Music{" +
                "id=" + id +
                ", singer='" + singer + '\'' +
                ", path='" + path + '\'' +
                ", song='" + song + '\'' +
                ", album='" + album + '\'' +
                ", duration=" + duration +
                ", size=" + size +
                '}';
    }
}
